//
//  TopBar.h
//  AsyncImages
//
//  Created by Matthew on 11-12-25.
//  Copyright 2011年 develop4u.gr. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "UIImageLayer.h"
#import "ImageUIButton.h"

@class UIImageLayer;
@class ImageUIButton;

@interface TopBar : UIView {
    UIView *topBgBar;
    UILabel *titleLabel;
    UIImageView *logo;
    ImageUIButton *refreshButton;
    
    ImageUIButton *returnButton;
    ImageUIButton *shareButton;
    
    NSString *suffix;
    
    NSString *detail_view_exit ;
    NSString *page_refresh ;
    NSString *share_btn_trigger  ;
    NSString *search_action_trigger;
    
    BOOL useReturnBtn;
}

-(void) initUI: (NSString *)titleTxt 
 logoDisplay:(BOOL) inLogoDisplay
             type:(int) inType;

-(void) updateTitle:(NSString *) inTitle;
-(void) closeShareBtn;

@property (nonatomic, copy) NSString *suffix;
@property BOOL useReturnBtn;
@end
